import axios from 'axios'

import { ElNotification , ElMessageBox, ElMessage, ElLoading } from 'element-plus'
let downloadLoadingInstance;


axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
// 创建axios实例
const service = axios.create({
  // axios中请求配置有baseURL选项，表示请求URL公共部分
  baseURL: "http://localhost:6066/",
  // 超时
  timeout: 10000
})
//默认导出
export default service